//
//  NSString+Json.m
//  MFWSdk
//
//  Created by Song Xiaofeng on 13-7-26.
//  Copyright (c) 2013年 Mafengwo Inc. All rights reserved.
//

#import "NSString+Json.h"
#import "MFWJsonUtils.h"

#import "LoadableCategory.h"

MAKE_CATEGORIES_LOADABLE(MFWSdk_NSString_Json)

@implementation NSString (Json)
/**
 *	parse sender to json object
 *
 *	@return	NSArray or NSDictionary
 */
- (id)jsonObject;
{
    return [MFWJsonUtils parseJsonString:self];
}
/**
 *	parse sender to mutable json object
 *
 *	@return	NSMutableArray or NSMutableDictionary
 */
- (id)jsonMutableObject;
{
    return [MFWJsonUtils mutableParseJsonString:self];
}

@end
